package com.yiper.service.impl;

import com.yiper.entity.Student;
import com.yiper.mapper.StudentMapper;
import com.yiper.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2018/9/3.
 */
@Service
public class StudentServiceImpl implements StudentService{
    @Autowired
    private StudentMapper studentMapper;

    @Override
    public int insert(Student student) {
        return studentMapper.insertStudent(student);
    }
}
